package scau.redi.social_platform.dao;

import org.apache.ibatis.annotations.Param;
import scau.redi.social_platform.domain.pojo.SharedContent;

import java.util.List;

public interface SharedContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SharedContent record);

    int insertSelective(SharedContent record);

    SharedContent selectByPrimaryKey(Integer id);

    int selectLastInsertId();

    SharedContent selectBySharedId(Integer sharedId);

    int updateByPrimaryKeySelective(SharedContent record);

    int updateByPrimaryKeyWithBLOBs(SharedContent record);

    int updateByPrimaryKey(SharedContent record);

    List<SharedContent> selectByContentLike(@Param("content") String content);
}